//
//  NetTools.h
//  SeseNews
//
//  Created by lanou3g on 15/7/24.
//  Copyright (c) 2015年 Sese工作室. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
@interface NetTools : NSObject
// shareInstance 单例网络管理
+(instancetype)shareInstance;

// get请求
+(void)GET:(NSString *)URLString
parameters:(id)parameters
   success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
   failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;

-(void)GET:(NSString *)URLString
parameters:(id)parameters
   success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
   failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
@end
